// pages/index/zhishi/zhishi.js
import request from '../../../utils/request'

Page({

  /**
   * 页面的初始数据
   */
  data: {
    items:[]
  },
onClickLeft:function(){
  wx.navigateBack()
},
async onLoad(){
  console.log("-------------")
  const res = await request.get('/dmy/psychologicalKnowledge/select',{
    id:-1,
    pageNum:1,
    pageSize:100
  })
  console.log(res)
  this.setData({
    items:res.data.list
  })

}
})